﻿using SanJ.FreeCare.ObservationDefinitions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;

namespace SanJ.FreeCare.ConditionDefinitions
{
    public interface IConditionDefinitionRepository : IRepository<ConditionDefinition, Guid>
    {
        Task<List<ConditionDefinition>> GetPageLisAsync(string filter, string sorting, int maxResultCount = int.MaxValue,
            int skipCount = 0, CancellationToken cancellationToken = default);

        Task<long> GetCountAsync(string filter, CancellationToken cancellationToken = default);
    }
}
